package com.ssy.bus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ssy.bus.pojo.Order;
import com.ssy.bus.vo.OrderVo;
import com.ssy.common.utils.PageResult;
import com.ssy.common.utils.Result;

/**
 * @author ssy
 */
public interface IOrderService extends IService<Order> {

    PageResult loadAllOrderByPage(OrderVo orderVo);

    Result addMakeDrugInfoOne(Order order);

    Result addMakeDrugInfoTwo(Order order);

    Result deleteDrugInfoByDrugId(Integer id, String purId);

    Result updateDrugInfoByDrugId(Order order);

    Result selectCountWholesaleAmount(String purId);

}
